<?php



// Content for INTERNET IMAGERY cloud page

// About me
$about = "Welcome to my humble website. This space is currently temporary. Pay no heed to the text as it is a placeholder. A staging area, slowly growing to become something amazing.";

// web design
$web_blurb = "I am a web designer based in New Zealand. Hear me ROAR!";


// photography
$photo_blurb = "I take photos of things. CLICK CLICK";


// art and animation!
$anim_blurb = "I can also animate stuff!! As well as doing some art of course...";

// google map
$map = '<iframe width="800" height="150" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=auckland+nz&amp;ie=UTF8&amp;hq=&amp;hnear=Auckland,+New+Zealand&amp;t=p&amp;ll=-36.841164,174.719696&amp;spn=0.164857,1.09726&amp;z=10&amp;output=embed"></iframe>';



// make shadows move on raised items
function float($height=NULL,$float_height=10){
	$colour = "#656559";
	$up = $float_height * -1;
	$down = $float_height;
	$zero = -1;
	$side = $float_height / 4;
	$side_end = $side + $float_height;
	$feather = $float_height / 2;
	if($height != NULL){
		$topheight = "-" . $height;
		$height = $height . "-";
	}
	echo
'data-' . $height . 'bottom="
 -webkit-box-shadow: '.$side.'px '.$up.'px '.$feather.'px 0px '.$colour.';
 box-shadow: '.$side.'px '.$up.'px '.$feather.'px 0px '.$colour.';"
data-' . $topheight . 'top="
 -webkit-box-shadow: '.$side.'px '.$down.'px '.($feather + 5).'px 0px '.$colour.';
 box-shadow: '.$side.'px '.$down.'px '.($feather +5).'px 0px '.$colour.';"';
}

/*
 data-center="
  -webkit-box-shadow: '.($side_end - ($side/2)).'px '.($zero +($down/2)).'px '.$feather.'px 0px '.$colour.';
 box-shadow: '.($side_end - ($side/2)).'px '.$down.'px '.$feather.'px 0px '.$colour.';"
 */


// Draw a moustache on face!
function moustache($true=false){
	if($true != false){
		echo '<div style="width:350px; height:300px; float:left;">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="350px" height="300px">
		<path
			style="fill:none;stroke:#000;stroke-width:9;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1000;stroke-dashoffset:0"
			data-2000="stroke-dashoffset:1000;" data-800-end="stroke-dashoffset:0; stroke-opacity:1;" data-600-end="stroke-opacity:0;"

			d="m179.99918,136.40298c-20.92554,-6.70105 -34.00398,-6.70105 -45.65572,4.02065c-7.37151,14.51895 -4.04243,23.67703 3.56686,35.51558c14.98076,9.38148 28.53482,15.41241 44.94232,10.05157c14.98079,-8.26462 20.68774,-23.23032 32.10168,-28.81453c6.42033,-2.90379 11.41393,1.56358 17.12088,7.37117l10.70056,-8.04128c9.27385,-4.24399 14.26741,-1.78694 21.40111,5.36084c14.02963,11.16844 28.77264,10.27495 42.0889,-4.69073c7.37149,-12.73201 1.1889,-31.49496 -12.12732,-38.19601c-15.21857,-6.03094 -25.44354,-4.69073 -37.09528,6.03095"
		/>
	</svg>
    </div>';
	} else {
		return;
	}
}
